Uniform Algebras: a Complete Semantics for the Hohh Logic of -prolog

نویسنده

  • Mary DeMarco
چکیده

The problem of nding sound and complete semantics for the logic underlying the lambda-Prolog programming language: Higher Order Hereditarily Harrop formulas with resolution (uniform) proofs has been open for over a decade. It is settled in this paper. Church's Simple Theory of Types introduced in 1940, is a classical theory: all instances of the excluded middle are derivable in it. A suitable intuitionistic fragment of this theory is the core formalism for the declarative lambda-prolog programming language and it has also served as the formalism of choice for important work on higher-order automated deduction in the 60s and 70s. Its classical semantics was developed by Henkin in 1950, and an intensional variant by Andrews 2] in 1972. No complete semantics appears to have been developed for the intuitionistic theory or the logic programming HOHH fragment with uniform (resolution) proofs until now. Using an indexed version of Scott-Fourman Omega-set models, a generalization, (roughly equivalent to sheaves) of earlier intuitionistic semantics due to Tarski, McKinsey, Rasiowa and Sikorski, we develop sound and complete semantics for the (appropriately deened) intuitionistic fragment of Church's theory of types (ICTT). We then show how to adapt the semantics to the lambda-prolog fragment (HOHH) of this theory via Uniform Algebras, a Goal-Atom-Program sorted variant of the above semantics. We develop a bottom-up semantics based on Uniform Algebras, producing a minimal term model as the least xed point of an appropriate continuous operator.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Higher-Order Logic Programming Languages with Constraints: A Semantics

A Kripke Semantics is defined for a higher-order logic programming language with constraints, based on Church’s Theory of Types and a generic constraint formalism. Our syntactic formal system, hoHH(C) (higher-order hereditary Harrop formulas with constraints), which extends λProlog’s logic, is shown sound and complete. A Kripke semantics for equational reasoning in the simply typed lambda-calcu...

متن کامل

STONE DUALITY FOR R0-ALGEBRAS WITH INTERNAL STATES

$Rsb{0}$-algebras, which were proved to be equivalent to Esteva and Godo's NM-algebras modelled by Fodor's nilpotent minimum t-norm, are the equivalent algebraic semantics of the left-continuous t-norm based fuzzy logic firstly introduced by Guo-jun Wang in the mid 1990s.In this paper, we first establish a Stone duality for the category of MV-skeletons of $Rsb{0}$-algebras and the category of t...

متن کامل

Speci cations based on DynamicAlgebrasAngelica

In 1988, Y. Gurevich proposed an approach to operational semantics, which is based on nite, dynamic algebras. Dynamic algebras are comprehensible, precise and universally applicable. E. BB orger recently presented a Dynamic Algebra Speciication of full Prolog. The main purpose of our work is a general concept for the implementation of dynamic algebras. We present a concrete language for Dynamic...

متن کامل

An Adjunction-Theoretic Foundation for Proof Search in Intuitionistic First-Order Categorical Logic Programming

In this thesis we compose a proof-theoretic approach to logic programming with a category-theoretic approach to proof theory. This allows us to present the computation mechanisms of several systems of logic programming as proof search strategies within an intuitionistic first-order sequent calculus with logic variables and to analyze aspects of their behavior algebraically. Beginning from the b...

متن کامل

Veriication of a Prolog Compiler { First Steps with Kiv

This paper describes the rst steps of the formal veriication of a Prolog compiler with the KIV system. We build upon the mathematical deenitions given by BB orger and Rosenzweig in BR95]. There an operational semantics of Prolog is deened using the formalism of Evolving Algebras, and then transformed in several systematic steps to the Warren Abstract Machine (WAM). To verify these transformatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001